package com.ddyx;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * <p>
 *      该类作用是可以在web容器中进行部署
 * </p>
 * class: UserServletInitializer.java
 * author: agula
 * since: 2019-07-25  11:33
 */
public class UserServletInitializer extends SpringBootServletInitializer
{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(UserApplication.class);
    }
}
